package ooday03;

public class Test1 {
    public static void main(String[] args) {
        Student ly = new Student("张三",25,"哈尔滨","jsd2302","001");
        ly.eat();
        ly.sleep();
        ly.study();
        ly.sayHi();

        Teacher ls = new Teacher("李四",30,"北京",8000);
        ls.eat();
        ls.sleep();
        ls.teach();
        ls.sayHi();

        Doctor ww = new Doctor("王五",35,"广州","主治医师");
        ww.eat();
        ww.sleep();
        ww.sayHi();
        ww.cut();
    }
}
